package com.guapi.entity;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;

import java.util.Date;

/**
 * 商品实体
 */
@Data
public class Goods {
    private int id;
    private int userId;
    private String goodsName;
    private String title;
    @Value("0")
    private int types;
    private String detail;
    private int price;
    private Date createTime;
    private int score;
    @Value("0")
    private int status;//商品状态：'0-未被购买---1-已经被购买'

}
